package com.yanqu.xiuxian.crosssystem.manger.elementalbonds.result;

import com.yanqu.xiuxian.crosssystem.manger.elementalbonds.data.ElementalBondsGameData;
import com.yanqu.xiuxian.crosssystem.manger.elementalbonds.entity.ElementalBondsBlock;

import java.util.ArrayList;
import java.util.List;

public class ElementalBondsOperateRoundResult {

    // 是否重排
    private boolean rearrange = false;
    // 各阶段结果
    private List<ElementalBondsOperateStageResult> stageResultList = new ArrayList<>();
    // 生成的炸弹
    private List<ElementalBondsBlock> newBombList = new ArrayList<>();
    // 本轮掉落后盘面
    private ElementalBondsGameData elementalBondsGameData;

    public ElementalBondsOperateRoundResult() {
    }

    public ElementalBondsOperateRoundResult(ElementalBondsGameData elementalBondsGameData) {
        this.elementalBondsGameData = elementalBondsGameData;
    }

    public ElementalBondsOperateRoundResult(boolean rearrange, ElementalBondsGameData elementalBondsGameData) {
        this.rearrange = rearrange;
        this.elementalBondsGameData = elementalBondsGameData;
    }

    public void addStageResult(ElementalBondsOperateStageResult elementalBondsOperateStageResult) {
        this.stageResultList.add(elementalBondsOperateStageResult);
    }

    public boolean isRearrange() {
        return rearrange;
    }

    public void setRearrange(boolean rearrange) {
        this.rearrange = rearrange;
    }

    public List<ElementalBondsOperateStageResult> getStageResultList() {
        return stageResultList;
    }

    public void setStageResultList(List<ElementalBondsOperateStageResult> stageResultList) {
        this.stageResultList = stageResultList;
    }

    public List<ElementalBondsBlock> getNewBombList() {
        return newBombList;
    }

    public void setNewBombList(List<ElementalBondsBlock> newBombList) {
        this.newBombList = newBombList;
    }

    public ElementalBondsGameData getElementalBondsGameData() {
        return elementalBondsGameData;
    }

    public void setElementalBondsGameData(ElementalBondsGameData elementalBondsGameData) {
        this.elementalBondsGameData = elementalBondsGameData;
    }

}
